Storage device having a configurable command response trigger

ABSTRACT

A storage device includes: a storage controller to receive one or more notifications corresponding to host data transferred from a host device to the storage device over a storage interface; and a response circuit connected to the storage controller, the response circuit to trigger a response to the host device, and including: a first counter to track the one or more notifications, the one or more notifications corresponding to an entirety of the host data such that each of the notifications corresponds to a portion of the host data; a second counter to track one or more acknowledgements received from the storage controller, the one or more acknowledgments corresponding to the one or more notifications such that each of the acknowledgments corresponds to a notification; and a response trigger to select one of the first counter and the second counter to trigger the response to the host device.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of U.S. patent application Ser. No.16/834,584, filed Mar. 30, 2020, which claims priority to and thebenefit of U.S. Provisional Application No. 62/988,214, filed on Mar.11, 2020, entitled “STORAGE DEVICE HAVING CONFIGURABLE COMMAND RESPONSETRIGGER,” the entire contents of both of which are incorporated hereinby reference.

FIELD

Aspects of one or more example embodiments of the present disclosurerelate to storage devices, and more particularly, to a storage devicehaving a configurable command response trigger, and a method includingthe same.

BACKGROUND

A storage system generally includes a host device and one or morestorage devices. The host device may store data in the storage device bytransmitting commands to the storage device. For example, the hostdevice may transmit a WRITE command to the storage device to store hostdata corresponding to the WRITE command in the storage device. In thiscase, the WRITE command may include several phases, for example, such asa command issue phase, a data transfer phase, and a response phase.During the command issue phase, the host device may issue the WRITEcommand to the storage device, and the host device may transfer the hostdata to the storage device during the data transfer phase. Once all ofthe host data has been written by the storage device, the storage devicemay transmit a response to the host device during the response phase,indicating that the WRITE command was successfully completed.

The above information disclosed in this Background section is forenhancement of understanding of the background of the presentdisclosure, and therefore, it may contain information that does notconstitute prior art.

SUMMARY

One or more example embodiments of the present disclosure are directedto a storage device including a hardware module (e.g., a responsecircuit) having a configurable command response trigger. The hardwaremodule may track various state information of the host data as the hostdata is transferred to the storage device, and may automaticallytransmit a suitable response to the host device according to the stateinformation of the host data, rather than using firmware or software(e.g., a processor executing instructions) to maintain the stateinformation and to initiate transmission of the response. Accordingly,latency may be reduced and/or throughput of the storage device may beimproved.

According to one or more example embodiments of the present disclosure,a storage device includes: a storage controller configured to receiveone or more notifications corresponding to host data transferred from ahost device to the storage device over a storage interface; storagememory; and a response circuit connected to the storage controller, theresponse circuit configured to trigger a response to the host device,and including: a first counter configured to track the one or morenotifications, the one or more notifications corresponding to anentirety of the host data such that each of the notificationscorresponds to a portion of the host data from among the entirety of thehost data; a second counter configured to track one or moreacknowledgements received from the storage controller, the one or moreacknowledgments corresponding to the one or more notifications such thateach of the acknowledgments corresponds to a notification from among theone or more notifications; and a response trigger configured to selectone from among the first counter and the second counter to trigger theresponse to the host device. The response circuit is configured totransmit the response to the host device according to a state of theselected one from among the first counter and the second counter.

In an example embodiment, the state may correspond to a count value ofthe selected one from among the first counter and the second counter.

In an example embodiment, the count value may be initialized based on acommand transfer length associated with the host data.

In an example embodiment, the first counter may be the selected one fromamong the first counter and the second counter, and the count value ofthe first counter may be decremented for each notification from amongthe one or more notifications that is transmitted to the storagecontroller.

In an example embodiment, the response trigger may include a comparator,and the comparator may be configured to compare the count value with athreshold value.

In an example embodiment, the response circuit may be configured todetermine that the host data has been received and notified in responseto the count value being equal to the threshold value.

In an example embodiment, the second counter may be the selected onefrom among the first counter and the second counter, and the count valueof the second counter may be decremented for each acknowledgement fromamong the one or more acknowledgements that is received from the storagecontroller.

In an example embodiment, the storage controller may be configured totransmit an acknowledgment from among the one or more acknowledgments inresponse to processing a corresponding notification.

In an example embodiment, the response trigger may include a comparator,and the comparator may be configured to compare the count value with athreshold value; and the response circuit may be configured to determinethat the host data has been processed by the storage device in responseto the count value being equal to the threshold value.

In an example embodiment, the storage controller may be configured topersistently store the host data in the storage memory based at least inpart on the notifications.

According to one or more example embodiments of the present disclosure,a method of triggering a response to a command issued by a host deviceto a storage device, includes: receiving, by a storage controller, oneor more notifications corresponding to host data transferred over thestorage interface from the host device to the storage device, the hostdata corresponding to the command; triggering, by a response circuitconnected to the storage controller, a response to the host device,wherein the triggering includes: tracking, by a first counter of theresponse circuit, the one or more notifications, the one or morenotifications corresponding to an entirety of the host data such thateach of the notifications corresponds to a portion of the host data fromamong the entirety of the host data; receiving, by the response circuit,one or more acknowledgments from the storage controller, the one or moreacknowledgments corresponding to the one or more notifications such thateach of the acknowledgments corresponds to a notification from among theone or more notifications; tracking, by a second counter of the responsecircuit, the plurality of acknowledgments; and selecting, by a responsetrigger of the response circuit, one from among the first counter andthe second counter to trigger the response; and transmitting, by theresponse circuit, the response to the host device according to a stateof the selected one from among the first counter and the second counter.

In an example embodiment, the state may correspond to a count value ofthe selected one from among the first counter and the second counter.

In an example embodiment, the method may further include: initiating, bythe response circuit, the count value based on a command transfer lengthassociated with the host data.

In an example embodiment, the first counter may be the selected one fromamong the first counter and the second counter, and the method mayfurther include: decrementing, by the response circuit, the count valueof the first counter for each notification from among the one or morenotifications that is transmitted to the storage controller.

In an example embodiment, the response trigger may include a comparator,and the method may further include: comparing, by the comparator, thecount value with a threshold value.

In an example embodiment, the method may further include: determining,by the response circuit, that the host data has been received andnotified in response to the count value being equal to the thresholdvalue.

In an example embodiment, the second counter may be the selected onefrom among the first counter and the second counter, and the method mayfurther include: decrementing, by the response circuit, the count valueof the second counter for each acknowledgement from among the one ormore acknowledgements that is received from the storage controller.

In an example embodiment, the method may further include: processing, bythe storage controller, a corresponding notification from among the oneor more notifications; and transmitting, by the storage controller, anacknowledgment from among the one or more acknowledgements in responseto the processing of the corresponding notification.

In an example embodiment, the response trigger may include a comparator,and the method may further include: comparing, by the comparator, thecount value with a threshold value; and determining, by the responsecircuit, that the host data has been processed by the storage device inresponse to the count value being equal to the threshold value.

In an example embodiment, the method may further include: persistentlystoring, by the storage controller, the host data in storage memorybased at least in part on the notifications.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects and features of the present disclosure willbecome more apparent to those skilled in the art from the followingdetailed description of the example embodiments with reference to theaccompanying drawings.

FIG. 1 is a system diagram of a storage system, according to one or moreexample embodiments of the present disclosure.

FIG. 2 is a block diagram of a response circuit of a storage device,according to one or more example embodiments of the present disclosure.

FIG. 3 is a schematic circuit diagram illustrating a configurablecommand response trigger of a response circuit, according to one or moreexample embodiments of the present disclosure.

FIG. 4 is a flow diagram of a method of generating a response to a WRITEcommand, according to one or more example embodiments of the presentdisclosure.

DETAILED DESCRIPTION

Hereinafter, example embodiments will be described in more detail withreference to the accompanying drawings, in which like reference numbersrefer to like elements throughout. The present disclosure, however, maybe embodied in various different forms, and should not be construed asbeing limited to only the illustrated embodiments herein. Rather, theseembodiments are provided as examples so that this disclosure will bethorough and complete, and will fully convey the aspects and features ofthe present disclosure to those skilled in the art. Accordingly,processes, elements, and techniques that are not necessary to thosehaving ordinary skill in the art for a complete understanding of theaspects and features of the present disclosure may not be described.Unless otherwise noted, like reference numerals denote like elementsthroughout the attached drawings and the written description, and thus,descriptions thereof may not be repeated.

Generally, the command issue phase, the data transfer phase, and theresponse phase are completed in-order according to a storage interface(e.g., an interface bus), such that a processor (e.g., a storagecontroller, a general purpose processor, and/or the like) usinginstructions (e.g., firmware, software, and/or the like) executingthereon maintains state information of the host data during the datatransfer phase to determine when all of the host data has been receivedand stored. Once the processor determines that all of the host data hasbeen received and stored, the processor may initiate transmission of aresponse back to the host device, indicating that the command wassuccessfully executed. In this case, however, maintaining stateinformation and initiating responses by the processor may introducelatency and/or may reduce throughput (e.g., overall throughput) of thestorage device.

According to one or more example embodiments of the present disclosure,a storage device may include a hardware module (e.g., a responsecircuit) to track state information of the host data as the host data istransferred to the storage device, rather than using firmware orsoftware (e.g., a processor executing instructions, such as a storagecontroller) to maintain and process the state information of the hostdata. In some embodiments, the hardware module may include aconfigurable command response trigger to provide a suitable response tothe host device according to various different states of the host databeing transferred to the storage device and a configuration of thecommand response trigger. Accordingly, latency (e.g., a processing time)may be reduced, and/or throughput of the storage device may be improved.

In some embodiments, the command response trigger may be dynamicallyconfigured according to various characteristics of the storage device104 and/or the host data, for example, such as an implementation, anapplication, a data type, acceptability of data loss, an operationalhealth, user requirements (e.g., such as a Service Level Agreement(SLA)), and/or the like. Accordingly, in some embodiments, the commandresponse trigger of the hardware module may be dynamically configured atstart-time, runtime, on a per-command basis, and/or the like, inconsideration of the various characteristics of the storage deviceand/or the host data, and according to a balance between a desired orsuitable performance and a desired or suitable reliability of thestorage device. These and other aspects and features of the presentdisclosure will be described in more detail below with reference to thefigures.

FIG. 1 is a system diagram of a storage system, according to one or moreexample embodiments of the present disclosure.

In brief overview, the storage system 100 according to one or moreembodiments of the present disclosure may include a host device (e.g., ahost computer) 102 and a storage device 104. The host device 102 mayissue commands to the storage device 104, such that the storage device104 stores host data associated with the commands therein. For example,the host device 102 may be communicably connected to the storage device104 (e.g., over a storage interface 110), and may issue a WRITE commandto the storage device 104, such that host data corresponding to theWRITE command is transferred and stored in (e.g., is written to) thestorage device 104. Once all of the host data has been successfullyreceived and/or stored, the storage device 104 may transmit anappropriate response to the host device 102, indicating that the commandwas successfully executed.

In one or more example embodiments, the storage device 104 may include ahardware module (e.g., a response circuit 112) to track stateinformation of the host data as the host data is transferred to thestorage device 104, rather than using firmware or software (e.g., aprocessor executing instructions, such as a storage controller 114) tomaintain and process the state information of the host data. Forexample, rather than waiting for the firmware or software to maintainand process the state information corresponding to the host datatransfer in order to determine when to initiate transmission of aresponse back to the host device, the hardware module (e.g., theresponse circuit 112) may automatically transmit a suitable responseback to the host device according to the state information of the hostdata being transferred. Accordingly, latency (e.g., a processing time)may be reduced, and/or throughput of the storage device 104 may beimproved.

In one or more example embodiments, the hardware module (e.g., theresponse circuit 112) may include a configurable command responsetrigger to provide a suitable response to the host device 102 accordingto various different states of the host data being transferred to thestorage device 104 and a configuration of the command response trigger.For example, an earlier response (e.g., when in a state where all of thehost data has been received, but before the host data is actually storedin persistent memory) may increase performance (e.g., may increasespeed), but may also decrease reliability (e.g., may increase the riskof data loss), whereas a later response (e.g., when in a state after allof the host data has been stored in the persistent memory) may decreasethe risk of data loss, but may also increase latency. Accordingly, insome embodiments, the command response trigger may be configuredaccording to a balance between performance and reliability of thestorage device 104.

In one or more example embodiments, the command response trigger may bedynamically configured according to various characteristics of thestorage device 104 and/or the host data, for example, such as animplementation, an application, a data type, acceptability of data loss,an operational health, user requirements (e.g., such as a Service LevelAgreement (SLA)), and/or the like. For example, in some embodiments, theinternal timing of the storage device for each of the phases may varydepending on an implementation and/or an application of the storagedevice 104. As an illustrative example, for a storage device thatimplements a volatile writeback cache, the hardware module (e.g., theresponse circuit 112) may be configured to transmit a response to thehost device after the host data is placed (e.g., is temporarily stored)in a volatile data cache, whereas for a storage device that does notimplement the volatile writeback cache, the hardware module (e.g., theresponse circuit 112) may first ensure that the host data is stored innon-volatile memory before transmitting a response to the host device102. In the former case, the command response trigger may be configuredsuch that the hardware module (e.g., the response circuit 112) providesthe response to the host device 102 earlier than in the latter case, butrisk of data loss may be increased when compared to the latter case.Accordingly, in some embodiments, the command response trigger of thehardware module (e.g., the response circuit 112) may be dynamicallyconfigured at start-time, runtime, on a per-command basis, and/or thelike, in consideration of the various characteristics of the storagedevice 104 and/or the host data, and according to a balance between adesired or suitable performance and a desired or suitable reliability ofthe storage device 104.

In more detail, referring to FIG. 1, the host device 102 may include thehost processor 106 and the host memory 108. The host processor 106 maybe a general purpose processor, for example, such as a centralprocessing unit (CPU) core of the host device 102. The host memory 108may be considered as high performing main memory (e.g., primary memory)of the host device 102. For example, in some embodiments, the hostmemory 108 may include (or may be) volatile memory, for example, such asdynamic random-access memory (DRAM). However, the present disclosure isnot limited thereto, and the host memory 108 may include (or may be) anysuitable high performing main memory (e.g., primary memory) replacementfor the host device 102 as would be known to those skilled in the art.For example, in other embodiments, the host memory 108 may be relativelyhigh performing non-volatile memory, such as NAND flash memory, PhaseChange Memory (PCM), Resistive RAM, Spin-transfer Torque RAM (STTRAM),any suitable memory based on PCM technology, memristor technology,and/or resistive random access memory (ReRAM) and can include, forexample, chalcogenides, and/or the like.

The storage device 104 may be considered as secondary memory that maypersistently store data accessible by the host device 102. In thiscontext, the storage device 104 may include (or may be) relativelyslower memory when compared to the high performing memory of the hostmemory 108. For example, in some embodiments, the storage device 104 maybe secondary memory of the host device 102, for example, such as aSolid-State Drive (SSD). However, the present disclosure is not limitedthereto, and in other embodiments, the storage device 104 may include(or may be) any suitable storage device, for example, such as a magneticstorage device (e.g., a hard disk drive (HDD), and the like), an opticalstorage device (e.g., a Blue-ray disc drive, a compact disc (CD) drive,a digital versatile disc (DVD) drive, and the like), other kinds offlash memory devices (e.g., a USB flash drive, and the like), and/or thelike. In various embodiments, the storage device 104 may conform to alarge form factor standard (e.g., a 3.5 inch hard drive form-factor), asmall form factor standard (e.g., a 2.5 inch hard drive form-factor), anM.2 form factor, an E1.S form factor, and/or the like. In otherembodiments, the storage device 104 may conform to any suitable ordesired derivative of these form factors. For convenience, the storagedevice 104 may be described hereinafter in the context of an SSD, butthe present disclosure is not limited thereto.

The storage device 104 may be communicably connected to the host device102 over a storage interface 110. The storage interface 110 mayfacilitate communications (e.g., using a connector and a protocol)between the host device 102 and the storage device 104. In someembodiments, the storage interface 110 may facilitate the exchange ofstorage requests and responses between the host device 102 and thestorage device 104. In some embodiments, the storage interface 110 mayfacilitate data transfers by the storage device 104 to and from the hostmemory 108 of the host device 102. For example, in an embodiment, thestorage interface 110 (e.g., the connector and the protocol thereof) mayinclude (or may conform to) Small Computer System Interface (SCSI), NonVolatile Memory Express (NVMe), and/or the like. In this case, a WRITEcommand by the host device 102 over the storage interface 110 mayinclude a command issue phase, a data transfer phase, and a responsephase. However, the present disclosure is not limited thereto, and inother embodiments, the storage interface 110 (e.g., the connector andprotocol thereof) may conform to other suitable storage interfaces, forexample, such as Peripheral Component Interconnect Express (PCIe),remote direct memory access (RDMA) over Ethernet, Serial AdvancedTechnology Attachment (SATA), Fiber Channel, Serial Attached SCSI (SAS),NVMe over Fabric (NVMe-oF), and/or the like. In other embodiments, thestorage interface 110 (e.g., the connector and the protocol thereof) mayinclude (or may conform to) various general-purpose interfaces, forexample, such as Ethernet, Universal Serial Bus (USB), and/or the like.For convenience, the storage interface 110 may be described hereinafterin the context of a SCSI interface, but the present disclosure is notlimited thereto.

In some embodiments, the storage device 104 may include a storagecontroller 114, and storage memory 116. The storage controller 114 maybe connected to the storage interface 110 (e.g., via a response circuit112), and may respond to input/output (I/O) requests received from thehost device 102 over the storage interface 110. The storage controller114 may provide an interface to control, and to provide access to andfrom, the storage memory 116. For example, the storage controller 114may include at least one processing circuit embedded thereon forinterfacing with the host device 102 and the storage memory 116. Theprocessing circuit may include, for example, a digital circuit (e.g., amicrocontroller, a microprocessor, a digital signal processor, or alogic device (e.g., a field programmable gate array (FPGA), anapplication-specific integrated circuit (ASIC), and/or the like))capable of executing data access instructions (e.g., via firmware and/orsoftware) to provide access to and from the data stored in the storagememory 116 according to the data access instructions. For example, thedata access instructions may include any suitable data storage andretrieval algorithm (e.g., READ/WRITE) instructions, and/or the like.The storage memory 116 may persistently store the data received from thehost device 102. In an embodiment, the storage memory 116 may includenon-volatile memory, for example, such as NAND flash memory.

However, the present disclosure is not limited thereto, and the storagememory 116 may include any suitable memory depending on a type of thestorage device 104 (e.g., magnetic disks, tape, optical disks, and/orthe like).

In one or more example embodiments, the storage device 104 may furtherinclude a response circuit 112. The response circuit 112 may beimplemented as a hardware module (e.g., an electronic circuit) that iscommunicably connected between the storage interface 110 and the storagecontroller 114. For example, in an embodiment, the response circuit 112may be implemented as an integrated circuit (IC) that is attached to (ormounted on) the storage device 104 (e.g., that may be embedded on thesame board or the same circuit board as that of the storage device 104).For example, the response circuit 112 may be implemented on (e.g., maybe attached to or mounted on) the storage device 104 as a system on chip(SOC). However, the present disclosure is not limited thereto, forexample, in another embodiment, the response circuit 112 may beimplemented on a separate circuit board (e.g., a printed circuit boardPCB) from that of the storage device 104, and may be connected betweenthe storage interface 110 and the storage device 104.

In one or more example embodiments, as the host data is beingtransferred from the host device 102 to the storage device 104 over thestorage interface 110, the response circuit 112 may receive the hostdata and may track state information corresponding to one or more statesof the transferred host data. The response circuit 112 may include aconfigurable command response trigger, such that a suitable response mayautomatically transmitted back to the host device 102 according to theone or more states of the transferred host data and a configuration(e.g., a mode) of the configurable command response trigger.Accordingly, rather than having a processor (e.g., the storagecontroller 114) executing firmware and/or software track the one or morestates to initiate a response back to the host device 102, the responsecircuit 112 may track the one or more states to automatically generateand transmit a suitable response to the host device 102 according to theone or more states. Thus, latency may be reduced, and/or throughput ofthe storage device may be improved. The response circuit 112 will now bedescribed in more detail hereinafter with reference to FIGS. 2-4.

FIG. 2 is a block diagram of the response circuit 112, according to oneor more example embodiments of the present disclosure.

In brief overview, the response circuit 112 may be a hardware module(e.g., an electronic circuit) that is connected between the storageinterface 110 and the storage controller 114. The response circuit 112may include a datapath (e.g., a receive datapath circuit 202) to receivethe host data as the host data is being transferred from the host device102 to the storage device 104 over the storage interface 110. Theresponse circuit 112 may track the state information of the host data(e.g., using one or more counters 208 and 210) while the host data isbeing transferred from the host device 102 over the storage interface110, and may provide an appropriate response to the host device 102according to the state information of the host data.

For example, in an embodiment, when a portion (e.g., a block) of thetransferred host data is received at the datapath (e.g., the receivedatapath circuit 202), the response circuit 112 may transmit anotification to the storage controller 114 (or another processorexecuting firmware or software) corresponding to the received portion ofthe host data, to inform the storage controller 114 that the portion ofthe host data has been received. The storage controller 114 may processthe notification to persistently store the host data in the storagememory 116, and may transmit an acknowledgment back to the responsecircuit 112, indicating that the notification has been processed. Inthis case, the response circuit 112 may track (e.g., via a notificationcounter 208) that the notification was transmitted to the storagecontroller 114, and may track (e.g., via an acknowledgement counter 210)that an acknowledgement corresponding to the notification was receivedfrom the storage controller, indicating that the notification wasprocessed by the storage controller 114.

In some embodiments, depending on a configuration (e.g., a mode) of theresponse circuit 112 (e.g., a configuration of a configurable commandresponse trigger), the response circuit 112 may automatically transmit aresponse to the host device 102 according to the notifications and/orthe acknowledgments, indicating that the command was successfullyexecuted. For example, the response circuit 112 may be configured toautomatically transmit the response to the host device 102 once all ofthe host data has been received and notified, but not necessarilyprocessed by the storage controller 114, and/or may be configured toautomatically transmit the response to the host device 102 after all ofthe acknowledgements corresponding to the notifications have beenreceived from the storage device 104, which indicates that all of thenotifications have been processed by the storage device 104. In theformer case, the notifications may be transmitted to the host device 102earlier than in the latter case, but risk of data loss may be increasedwhen compared to the latter case.

In more detail, referring to FIG. 2, according to one or more exampleembodiments of the present disclosure, the response circuit 112 mayinclude a receive datapath circuit 202, a response trigger circuit 204,and a response generator circuit 206. In some embodiments, the receivedatapath circuit 202 may receive portions of the host data as the hostdata is being transferred from the host device 102 to the storage device104 over the storage interface 110. For example, a command transferlength may indicate that the host data for a corresponding WRITE commandincludes, for example, a plurality of blocks of data, such that aportion of the host data may correspond to a block of data from amongthe plurality of blocks of data. In this case, when a portion (e.g., ablock) of the host data is received, the receive datapath circuit 202may transmit a notification to the storage controller 114 (or anotherprocessor executing firmware and/or software) to inform the storagecontroller 114 that the portion of the host data has been received. Thestorage controller 114 may process the notification, and may transmit anacknowledgment to the response trigger circuit 204, indicating that thenotification has been processed.

In some embodiments, the notifications may include information toidentify the portions of the host data, and locations (e.g., temporarylocations) where the portions of the host data are placed (e.g., aretemporarily stored), such that the storage controller 114 may processthe notifications to persistently store the host data in the storagememory 116 according to the notifications. For example, in someembodiments, the received datapath circuit 202 may be connected to (ormay include) a cache (e.g., a volatile data cache) to temporarily storethe portions of the host data as the portions are received over thestorage interface 110, until the storage controller 114 processes thenotifications and/or persistently stores the host data in the storagememory 116. In this case, in an embodiment, while the storage controller114 may generally transmit a corresponding acknowledgement as each ofthe notifications is processed and the corresponding portion of the hostdata is persistently stored in the storage memory 116, the presentdisclosure is not limited thereto. For example, the correspondingacknowledgment for each portion of the host data may be transmittedbefore, after, or during the storing of the portion of the host data inthe storage memory 116, as long as the persistent storing of the hostdata in the storage memory 116 is relatively ensured.

While the receive datapath circuit 202 is shown in FIG. 2 as being apart of the response circuit 112, the present disclosure is not limitedthereto. For example, in another embodiment, the datapath circuit 202may be implemented separately from the response circuit 112, and maytransmit the notifications to the storage controller 114 (or anotherprocessor executing firmware and/or software) to process thenotifications. In this case, the datapath circuit 202 may furthertransmit the notification (or a signal indicating the transmission ofthe notification) to the response circuit 112, such that the responsecircuit 112 may track a notification state of the host data. Forexample, in various embodiments, the receive datapatch circuit 202 maybe implemented on the same board (e.g., the same circuit board) as thatof the storage device 104, may be a separate module (e.g., a separatehardware module or a separate processor executing instructions) that iscommunicably connected to the storage interface 110 and the storagedevice 104, may be implemented as part of the storage controller 114,and/or the like.

In some embodiments, the response trigger circuit 204 may include one ormore counters to track the state information of the host data todetermine, for example, whether the transferred host data is in asuitable state to trigger an automatic response back to the host device102. For example, the one or more counters may track a notificationstate of the host data, for example, such as whether the storagecontroller 114 has been notified that all of the host data has beenreceived, and/or may track an acknowledgement state of the host data,for example, such as whether all of the notifications have beenprocessed and acknowledged by the storage controller 114. In this case,the response generator circuit 206 may automatically transmit a suitableresponse to the host device 102 according to (e.g., depending on) thestate information of the host data (e.g., according to a state of theone or more counters).

For example, in some embodiments, the one or more counters may include anotification counter 208 and an acknowledgement counter 210. In someembodiments, the notification counter 208 and the acknowledgementcounter 210 may be initialized according to a size of the host data. Asan illustrative example, if the command transfer length indicates thatthe host data includes 5 blocks, each of the notification counter 208and the acknowledgement counter 210 may be initialized to have aninitial value of 5. In this example, as the receive datapath circuit 202transmits a notification to the storage controller 114 for each block ofhost data that is received at the receive datapath circuit 202, thenotification counter 208 may be decremented. Similarly, in this example,as the storage controller 114 acknowledges each of the notifications foreach of the 5 blocks of host data, the acknowledgment counter 210 may bedecremented. Accordingly, when all of the host data has been receivedand notified to the storage controller 114, the notification counter 208may have a value of 0, and when all of the notifications have beenprocessed and acknowledged by the storage controller 114, theacknowledgment counter 210 may have a value of 0.

In some embodiments, the response generator circuit 206 mayautomatically transmit a suitable response to the host device 102according to the state of the notification counter 208 and/or the stateof the acknowledgment counter 210. For example, in some embodiments, theresponse generator circuit 206 may be connected to the notificationcounter 208 and/or the acknowledgment counter 210, and may determinewhen one or both of the notification counter 208 and/or theacknowledgment counter 210 has the value of 0. In this case, theresponse generator circuit 206 may automatically transmit a suitableresponse to the host device 102 when the value of the notificationcounter 208 is decremented to 0 and/or when the value of theacknowledgment counter 210 is decremented to 0. For example, when thevalue of the notification counter 208 is decremented to 0, the responsegenerator circuit 206 may transmit the response to the host device 102earlier, but risk of data loss may be increased, because the storagecontroller 114 may not have processed all of the notifications. On theother hand, when the value of the acknowledgment counter 210 isdecremented to 0, the risk of data loss may be decreased, but theresponse to the host device 102 may be transmitted later, because theresponse generator circuit 206 first waits until all of thenotifications have been processed and acknowledged by the storagecontroller 114 before transmitting the response to the host device 102.

Accordingly, in some embodiments, the response circuit 112 may have aconfigurable command response trigger, such that the response generatorcircuit 206 transmits the response to the host device 102 according to aconfiguration (e.g., a mode) of the command response trigger. Forexample, as discussed in more detail below with reference to FIG. 3, insome embodiments, the configurable command response trigger may beimplemented as a part of the response trigger circuit 204. In otherembodiments, the configurable command response trigger may include thecounters of the response trigger circuit 204, and may be implemented aspart of the response generator circuit 206.

FIG. 3 is a schematic circuit diagram illustrating a configurablecommand response trigger of a response circuit, according to one or moreexample embodiments of the present disclosure. FIG. 3 illustrates aportion of the response circuit 112 corresponding to the configurablecommand response trigger, for example, a portion including thenotification counter 208 and the acknowledgement counter 210 of theresponse trigger circuit 204, and/or a portion of the response generatorcircuit 206.

Referring to FIG. 3, in some embodiments, the response circuit 112 mayinclude the configurable command response trigger, such that theresponse may be automatically transmitted to the host device 102according a state of the notification counter 208 and/or theacknowledgement counter 210 and a configuration (e.g., a mode) of theconfigurable command response trigger. For example, each of thenotification counter 208 and the acknowledgement counter 210 may include(e.g., may be implemented as) a binary counter 302 and 304. The binarycounter 302 and 304 of each of the notification counter 208 and theacknowledgement counter 210 may be initialized according to a size ofthe host data, for example, according to (e.g., based on) the commandtransfer length associated with the host data. As the notifications aretransmitted to the storage controller 114 (e.g., from the receivedatapath circuit 202), the binary counter 302 of the notificationcounter 208 may be decremented. As acknowledgements are received (e.g.,by the response trigger circuit 204) from the storage controller 114,the binary counter 304 of the acknowledgement counter 210 may bedecremented.

In some embodiments, each of the binary counters 302 and 304 may providea current value thereof to a corresponding comparator 306 and 308. Eachof the comparators 306 and 308 may determine whether a correspondingbinary counter 302 and 304 has reached a threshold (e.g., has beendecremented to 0). For example, in some embodiments, each of thecomparators 306 and 308 may compare the current value of thecorresponding binary counter 302 and 304 with a threshold value (e.g.,0), in order to determine whether the corresponding binary counter 302and 304 has reached the threshold (e.g., has been decremented to 0). Insome embodiments, each of the comparators 306 and 308 may output acomparison result according to (e.g., based on) the comparison. Forexample, in some embodiments, if the corresponding binary counter 302and 304 has reached the threshold value (e.g., 0), the correspondingcomparator 306 and 308 may output a high-level signal (e.g., 1) as thecomparison result. On the other hand, if the corresponding binarycounter 302 and 304 has a value other than the threshold value, forexample, a value greater than 0, the corresponding comparator 306 and308 may output a low-level signal (e.g., 0) as the comparison result.

In some embodiments, each of the comparators 306 and 308 may provide thecomparison result to a corresponding first logic gate (e.g., to acorresponding AND logic gate) 310 and 312. In an embodiment, the firstlogic gates 310 and 312 may be used to select one of the notificationcounter 208 and the acknowledgement counter 210 as the trigger forautomatically transmitting the response (e.g., via the responsegenerator circuit 206) to the host device 102. For example, each of thefirst logic gates 310 and 312 may receive a configuration signal(Config), such that one of the first logic gates 310 and 312 may beselected at a time according to the Config signal. In this case, theConfig signal may be provided at start-time, runtime, on a per-commandbasis, and/or the like, in consideration of the various characteristicsof the storage device 104 and/or the host data, and according to abalance between performance and a desired reliability of the storagedevice 104, such that a suitable or desired one of the first logic gates310 and 312, and thus, a suitable or desired one of the notificationcounter 208 and the acknowledgement counter 210, is selected at a time.For example, the Config signal may be provided from the storagecontroller 114, the host processor 106, another controller or processorconnected to the storage device 104, and/or any other suitablecontroller, processor, and/or device connected to the storage device104.

For example, in an embodiment, when the first logic gates 310 and 312are AND logic gates, a selection signal (e.g., a high-level signal) ofthe Config signal may be provided to the selected one of the AND logicgates 310 and 312, and a deactivation signal (e.g., a low-level signal)of the Config signal may be provided to the other one (e.g., thenon-selected one) of the AND logic gates 310 and 312. In this case, forexample, the selected one of the AND logic gates 310 or 312 receivingthe selection signal (e.g., the high-level signal) of the Config signalmay output a high-level signal (e.g., 1) when it receives a high-levelsignal as the comparison result from the corresponding comparator 306and 308 (e.g., indicating that the corresponding binary counter 302 and304 has reached the threshold), and may output a low-level signalotherwise (e.g., when the comparison result has a low-level signal,indicating that the corresponding binary counter 302 and 304 has notreached the threshold). The non-selected one of the AND logic gates 310and 312 receiving the deactivation signal (e.g., the low-level signal)of the Config signal may output a low-level signal (e.g., 0) regardlessof the comparison result from the corresponding comparator 306 and 308,because of the deactivation signal (e.g., the low-level signal).

In an embodiment, as shown in FIG. 3, the same Config signal may beprovided to each of the first logic gates 310 and 312. For example, oneof the first logic gates 310 and 312 may have an inverter (or a NOTgate) connected to an input thereof for inverting a level of the Configsignal, and the other of the first logic gates 310 and 312 may receivethe level of the Config signal as-is, such that the same Config signalmay be provided to select one of the first logic gates 310 and 312. Inthis case, for example, when the Config signal has a low-level, theinverter may invert the low-level signal into the selection signal(e.g., the high-level signal) for the one of the first logic gates 310and 312, and the other of the first logic gates 310 and 312 may receivethe low-level of the Config signal as the deactivation signal (e.g., thelow-level signal). Similarly, when the Config signal has a high-level,the inverter may invert the high-level signal into the deactivationsignal (e.g., the low-level signal) for the one of the first logic gates310 and 312, and the other of the first logic gates 310 and 312 mayreceive the high-level of the Config signal as the selection signal(e.g., the high-level signal). However, the present disclosure is notlimited thereto, and in other embodiments, a different Config signal maybe provided to each of the first logic gates 310 and 312 to select adesired or suitable one of the first logic gates 310 and 312.

In some embodiments, the outputs of the first logic gates (e.g., the ANDlogic gates) 310 and 312 may be provided to a second logic gate (e.g.,an OR logic gate) 314, such that a trigger signal (TRIGGER) may begenerated by the second logic gate 314. The trigger signal may be used(e.g., by the response generation circuit 206) to automatically transmita response to the host device 102. For example, in an embodiment, whenthe second logic gate 314 is an OR logic gate, the OR logic gate 314 mayprovide the trigger signal as a high-level signal (e.g., 1) when any oneof the first logic gates (e.g., the AND logic gates) 310 and 312provides a high-level signal (e.g., indicating that the correspondingbinary counter 302 and 304 has reached the threshold), and may output alow-level signal (e.g., 0) in other cases. Because the deactivated oneof the first logic gates (e.g., the AND logic gates) 310 and 312 mayprovide a low-level signal (e.g., 0), and the selected one of the firstlogic gates (e.g., the AND logic gates) 310 and 312 may only provide ahigh-level signal (e.g., 1) when it receives a high-level signal as thecomparison result from the corresponding comparator 306 and 308 (e.g.,indicating that the corresponding binary counter 302 and 304 has reachedthe threshold), the OR logic gate 314 may provide the trigger signalhaving the high-level signal to trigger the automatic response only whenthe selected one from among the notification counter 208 and theacknowledgement counter 210 has reached the threshold value (e.g., 0).

Accordingly, in one or more embodiments, the response circuit 112 may beconfigured to provide an automatic response to the host device 102according to a state of the counters 208 and 210, and a configuration(e.g., a mode) of the configurable command response trigger thereof.While FIG. 3 shows an example implementation of the configurable commandresponse trigger of the response circuit 112, the present disclosure isnot limited thereto, and the configurable command response trigger ofthe response circuit 112 may be variously modified according to thespirit and scope of the present disclosure. For example, theconfigurable command response trigger may include (e.g., may beimplemented with) various suitable hardware structures, electronicelements, and/or components, for example, such as other various suitablelogic gates (e.g., NAND gates, NOR gates, XOR gates, NOT gates, EXORgates, EXNOR gates, and/or the like), various suitable switches, varioussuitable transistors, various suitable resistors, various suitablecapacitors, various suitable registers, various suitable flip-flops,various different kinds of counters, various different kinds ofcomparators, and/or the like, as would be known to those skilled in theart when studying the content of the present disclosure, and/or learnedfrom practicing one or more embodiments of the present disclosure.

FIG. 4 is a flow diagram of a method of generating a response to a WRITEcommand, according to one or more example embodiments of the presentdisclosure. However, the present disclosure is not limited to thesequence or number of the operations of the method 400 shown in FIG. 4,and can be altered into any desired sequence or number of operations asrecognized by a person having ordinary skill in the art. For example, insome embodiments, the order may vary, or the method may include fewer oradditional operations.

Referring to FIG. 4, the method 400 starts when a WRITE command isissued from the host device 102 such that the WRITE command is receivedby the storage device 104 over the storage interface 110. Counters areinitialized according to a command transfer length of the WRITE commandat operation 405. For example, the notification counter 208 and theacknowledgement counter 210 may be initialized to have an initial valueaccording to the command transfer length of the WRITE command. A datatransfer of host data associated with the WRITE command starts atoperation 410. For example, the host device 102 may start to transferhost data associated with the WRITE command to the storage device 104over the storage interface 110. A portion (e.g., a block) of the hostdata transferred from the host device 102 is received at operation 415.For example, the receive datapath circuit 202 may receive the block ofhost data from among the host data from the host device 102 over thestorage interface 110.

The storage controller 114 (or another processor executing firmwareand/or software) may be notified of the received block of host data atoperation 420. For example, the receive datapath circuit 202 maytransmit a notification to the storage controller 114 that the block ofhost data has been received. In this case, after operation 420, twoloops may begin, a first loop starting with operation 425, and a secondloop starting with operation 440. For convenience, the first loopstarting with operation 425 will be described first, and then the secondloop starting with operation 440 will be described next, but the presentdisclosure is not limited to the sequence or timing thereof. Forexample, the first loop starting with operation 425 may beginconcurrently (e.g., simultaneously) with the second loop starting withoperation 440, or the second loop starting with operation 440 may beginafter one or more operations of the first loop starting with operation425.

The notification counter 208 may be decremented at operation 425. Forexample, the notification counter 208 may be decremented in response tothe transmission of the notification to the storage controller 114. Inthis case, a current value of the notification counter 208 may becompared with a threshold value (e.g., 0) to determine whether thenotification counter 208 has reached the threshold (e.g., has beendecremented to 0) at operation 430. For example, the comparator 306 ofthe configurable command response trigger of the response circuit 112may compare the current value of the notification counter 208 with thethreshold value (e.g., 0) to determine whether all of the host data hasbeen received and notified. If the current value of the notificationcounter 208 has not reached the threshold (e.g., has not beendecremented to 0) at operation 430 (e.g., NO), then the method 400 mayloop back to operation 415, such that another portion (e.g., anotherblock) of the host data is received at operation 415, and the methodcontinues at operation 420, until all of the blocks of host data hasbeen received (e.g., the notification counter 208 has been decrementedto 0) at operation 430.

On the other hand, if the current value of the notification counter 208has reached the threshold (e.g., has been decremented to 0) at operation430 (e.g., YES), the response circuit 112 (e.g., the configurablecommand response trigger thereof) may determine whether the configurablecommand response trigger is configured to operate under a first mode atoperation 435. For example, in an embodiment, the comparison result ofthe comparator 306 may be provided to the first logic gate (e.g., theAND logic gate) 310, and the first logic gate may perform an operation(e.g., an AND operation) between the comparison result and the Configsignal. In this case, if the Config signal is provided as the selectionsignal (e.g., the high-level signal), then it may be determined that thefirst mode is configured (e.g., YES) at operation 435, such that theresponse is triggered at operation 460, and the response is transmittedto the host device 102 at operation 465 (e.g., by the response generatorcircuit 206). On the other hand, if the Config signal is provided as thedeactivation signal (e.g., the low-level signal), then it may bedetermined that the first mode is not configured (e.g., NO) at operation435. In this case, the response circuit 112 (e.g., the configurablecommand response trigger thereof) may determine that the configurablecommand response trigger is configured to operate under a second mode(e.g., based on the inverter) at operation 435, such that the responsecircuit 112 may wait until the acknowledgement counter 210 has reachedthe threshold (e.g., has been decremented to 0) at operation 450.

Referring back to operation 420, in response to the notification beingtransmitted to the storage controller 114 at operation 420, the storagecontroller 114 may process the notification, such that the storagecontroller 114 may transmit an acknowledgement to the response circuit112 (e.g., the response trigger circuit 204) indicating that thenotification has been processed. Accordingly, it may be determinedwhether an acknowledgement is received at operation 440. For example,the response trigger circuit 204 may determine whether anacknowledgement is received from the storage controller 114. If theacknowledgement has not been received at operation 440 (e.g., NO), themethod 400 may loop back to operation 440 until an acknowledgmentcorresponding to the notification of operation 420 is received.

On the other hand, if an acknowledgment is received at operation 440(e.g., YES), the acknowledgment counter 210 may be decremented atoperation 445. In this case, a current value of the acknowledgmentcounter 210 may be compared with a threshold value (e.g., 0) todetermine whether the acknowledgment counter 210 has reached thethreshold (e.g., has been decremented to 0) at operation 450. Forexample, the comparator 308 of the configurable command response triggerof the response circuit 112 may compare the current value of theacknowledgment counter 210 with the threshold value (e.g., 0) todetermine whether all of the notifications associated with the host datahas been processed by the storage controller 114. If the current valueof the acknowledgment counter 210 has not reached the threshold (e.g.,has not been decremented to 0) at operation 450 (e.g., NO), then themethod 400 may loop back to operation 440, such that the responsetrigger circuit 204 may determine whether another acknowledgementassociated with another notification is received from the storagecontroller 114 at operation 440, until all of the acknowledgementsassociated with the host data has been received (e.g., theacknowledgment counter 210 has been decremented to 0) at operation 450.

On the other hand, if the current value of the acknowledgment counter210 has reached the threshold (e.g., has been decremented to 0) atoperation 450 (e.g., YES), the response may be triggered at operation460. For example, in an embodiment, the comparison result of thecomparator 308 may be provided to the first logic gate (e.g., the

AND logic gate) 312, and the first logic gate may perform an operation(e.g., an AND operation) between the comparison result and the Configsignal. In this case, because it was determined that configurablecommand response trigger is configured to operate under the second modeat operation 435 (e.g., NO), the Config signal is provided as theselection signal (e.g., the high-level signal) to the first logic gate312 (e.g., based on the inverter), such that the response is triggeredat operation 460, and the response is transmitted to the host device 102at operation 465 (e.g., by the response generator circuit 206).

While one or more embodiments of the present disclosure have beendescribed above such that the command response trigger includes twomodes corresponding to two counters (e.g., the notification counter 208and the acknowledgment counter 210), the present disclosure is notlimited thereto, and the command response trigger may include more orless modes, and/or more or less counters. For example, in an embodiment,the command response trigger may include a third mode to trigger anautomatic response, for example, when the host data is received but notyet notified. In this case, the response to the host device 102 may beprovided even earlier than the other modes, but risk of data loss may bethe greatest. For example, in this case, the command response triggermay include a third counter to track when all of the host data has beenreceived but not yet notified, and when operating under thisconfiguration (e.g., under this mode), the response may be automaticallygenerated even before the storage controller 114 has been notified aboutall of the host data.

As described above, according to one or more example embodiments of thepresent disclosure, a storage device may include a hardware module(e.g., a response circuit) to track one or more states of host databeing transferred to the storage device from a host device, rather thanusing firmware or software (e.g., a processor executing instructions,such as a storage controller) to maintain and process the stateinformation of the host data. Accordingly, latency may be reduced and/orthroughput of the storage device may be improved.

As described above, according to one or more example embodiments of thepresent disclosure, the hardware module (e.g., the response circuit) mayinclude a configurable command response trigger to provide a suitableresponse to the host device according to various different states of thehost data being transferred to the storage device 104 and aconfiguration (or a mode) of the command response trigger. Accordingly,the command response trigger may be dynamically configured atstart-time, runtime, on a per-command basis, and/or the like, inconsideration of the various characteristics of the storage deviceand/or the host data, and according to a balance between performance andreliability of the storage device.

In the drawings, the relative sizes of elements, layers, and regions maybe exaggerated and/or simplified for clarity. It will be understoodthat, although the terms “first,” “second,” “third,” etc., may be usedherein to describe various elements, components, regions, layers and/orsections, these elements, components, regions, layers and/or sectionsshould not be limited by these terms. These terms are used todistinguish one element, component, region, layer or section fromanother element, component, region, layer or section. Thus, a firstelement, component, region, layer or section described below could betermed a second element, component, region, layer or section, withoutdeparting from the spirit and scope of the present disclosure.

It will be understood that when an element or layer is referred to asbeing “on,” “connected to,” or “coupled to” another element or layer, itcan be directly on, connected to, or coupled to the other element orlayer, or one or more intervening elements or layers may be present. Inaddition, it will also be understood that when an element or layer isreferred to as being “between” two elements or layers, it can be theonly element or layer between the two elements or layers, or one or moreintervening elements or layers may also be present.

The terminology used herein is for the purpose of describing particularembodiments and is not intended to be limiting of the presentdisclosure. As used herein, the singular forms “a” and “an” are intendedto include the plural forms as well, unless the context clearlyindicates otherwise. It will be further understood that the terms“comprises,” “comprising,” “includes,” and “including,” “has, ” “have, ”and “having,” when used in this specification, specify the presence ofthe stated features, integers, steps, operations, elements, and/orcomponents, but do not preclude the presence or addition of one or moreother features, integers, steps, operations, elements, components,and/or groups thereof. As used herein, the term “and/or” includes anyand all combinations of one or more of the associated listed items.Expressions such as “at least one of,” when preceding a list ofelements, modify the entire list of elements and do not modify theindividual elements of the list.

As used herein, the term “substantially,” “about,” and similar terms areused as terms of approximation and not as terms of degree, and areintended to account for the inherent variations in measured orcalculated values that would be recognized by those of ordinary skill inthe art. Further, the use of “may” when describing embodiments of thepresent disclosure refers to “one or more embodiments of the presentdisclosure.” As used herein, the terms “use,” “using,” and “used” may beconsidered synonymous with the terms “utilize,” “utilizing,” and“utilized,” respectively.

Unless otherwise defined, all terms (including technical and scientificterms) used herein have the same meaning as commonly understood by oneof ordinary skill in the art to which the present disclosure belongs. Itwill be further understood that terms, such as those defined in commonlyused dictionaries, should be interpreted as having a meaning that isconsistent with their meaning in the context of the relevant art and/orthe present specification, and should not be interpreted in an idealizedor overly formal sense, unless expressly so defined herein.

Although some example embodiments have been described, those skilled inthe art will readily appreciate that various modifications are possiblein the example embodiments without departing from the spirit and scopeof the present disclosure. It will be understood that descriptions offeatures or aspects within each embodiment should typically beconsidered as available for other similar features or aspects in otherembodiments, unless otherwise described. Therefore, it is to beunderstood that the foregoing is illustrative of various exampleembodiments and is not to be construed as limited to the specificexample embodiments disclosed herein, and that various modifications tothe disclosed example embodiments, as well as other example embodiments,are intended to be included within the spirit and scope of the presentdisclosure as defined in the appended claims, and their equivalents.

What is claimed is:
 1. A storage device comprising: a storage controllerconfigured to receive one or more notifications corresponding to hostdata transferred from a host device to the storage device over a storageinterface; storage memory; and a response circuit connected to thestorage controller, the response circuit configured to trigger aresponse to the host device, and comprising: a first counter configuredto track the one or more notifications, the one or more notificationscorresponding to an entirety of the host data such that each of thenotifications corresponds to a portion of the host data from among theentirety of the host data; a second counter configured to track one ormore acknowledgements received from the storage controller, the one ormore acknowledgments corresponding to the one or more notifications suchthat each of the acknowledgments corresponds to a notification fromamong the one or more notifications; and a response trigger configuredto select one from among the first counter and the second counter totrigger the response to the host device, wherein the response circuit isconfigured to transmit the response to the host device according to astate of the selected one from among the first counter and the secondcounter.
 2. The storage device of claim 1, wherein the state correspondsto a count value of the selected one from among the first counter andthe second counter.
 3. The storage device of claim 2, wherein the countvalue is initialized based on a command transfer length associated withthe host data.
 4. The storage device of claim 3, wherein the firstcounter is the selected one from among the first counter and the secondcounter, and the count value of the first counter is decremented foreach notification from among the one or more notifications that istransmitted to the storage controller.
 5. The storage device of claim 4,wherein the response trigger comprises a comparator, and the comparatoris configured to compare the count value with a threshold value.
 6. Thestorage device of claim 5, wherein the response circuit is configured todetermine that the host data has been received and notified in responseto the count value being equal to the threshold value.
 7. The storagedevice of claim 3, wherein the second counter is the selected one fromamong the first counter and the second counter, and the count value ofthe second counter is decremented for each acknowledgement from amongthe one or more acknowledgements that is received from the storagecontroller.
 8. The storage device of claim 7, wherein the storagecontroller is configured to transmit an acknowledgment from among theone or more acknowledgments in response to processing a correspondingnotification.
 9. The storage device of claim 8, wherein: the responsetrigger comprises a comparator, and the comparator is configured tocompare the count value with a threshold value; and the response circuitis configured to determine that the host data has been processed by thestorage device in response to the count value being equal to thethreshold value.
 10. The storage device of claim 8, wherein the storagecontroller is configured to persistently store the host data in thestorage memory based at least in part on the notifications.
 11. A methodof triggering a response to a command issued by a host device to astorage device, the method comprising: receiving, by a storagecontroller, one or more notifications corresponding to host datatransferred over the storage interface from the host device to thestorage device, the host data corresponding to the command; triggering,by a response circuit connected to the storage controller, a response tothe host device, wherein the triggering comprises: tracking, by a firstcounter of the response circuit, the one or more notifications, the oneor more notifications corresponding to an entirety of the host data suchthat each of the notifications corresponds to a portion of the host datafrom among the entirety of the host data; receiving, by the responsecircuit, one or more acknowledgments from the storage controller, theone or more acknowledgments corresponding to the one or morenotifications such that each of the acknowledgments corresponds to anotification from among the one or more notifications; tracking, by asecond counter of the response circuit, the plurality ofacknowledgments; and selecting, by a response trigger of the responsecircuit, one from among the first counter and the second counter totrigger the response; and transmitting, by the response circuit, theresponse to the host device according to a state of the selected onefrom among the first counter and the second counter.
 12. The method ofclaim 11, wherein the state corresponds to a count value of the selectedone from among the first counter and the second counter.
 13. The methodof claim 12, further comprising: initiating, by the response circuit,the count value based on a command transfer length associated with thehost data.
 14. The method of claim 13, wherein the first counter is theselected one from among the first counter and the second counter, andthe method further comprises: decrementing, by the response circuit, thecount value of the first counter for each notification from among theone or more notifications that is transmitted to the storage controller.15. The method of claim 14, wherein the response trigger comprises acomparator, and the method further comprises: comparing, by thecomparator, the count value with a threshold value.
 16. The method ofclaim 15, further comprising: determining, by the response circuit, thatthe host data has been received and notified in response to the countvalue being equal to the threshold value.
 17. The method of claim 13,wherein the second counter is the selected one from among the firstcounter and the second counter, and the method further comprises:decrementing, by the response circuit, the count value of the secondcounter for each acknowledgement from among the one or moreacknowledgements that is received from the storage controller.
 18. Themethod of claim 17, further comprising: processing, by the storagecontroller, a corresponding notification from among the one or morenotifications; and transmitting, by the storage controller, anacknowledgment from among the one or more acknowledgements in responseto the processing of the corresponding notification.
 19. The method ofclaim 18, wherein the response trigger comprises a comparator, and themethod further comprises: comparing, by the comparator, the count valuewith a threshold value; and determining, by the response circuit, thatthe host data has been processed by the storage device in response tothe count value being equal to the threshold value.
 20. The method ofclaim 18, further comprising: persistently storing, by the storagecontroller, the host data in storage memory based at least in part onthe notifications.